package wyu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.entity.UserPostCollect;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserPostCollectMapper extends BaseMapper<UserPostCollect> {
    @Select("SELECT USER_UNAME FROM user_post_collect WHERE POST_ID =#{postId}")
    List<String> getCollectList(int postId);
}
